package com.service.socket.process;

import org.jboss.netty.channel.Channel;

import com.service.bean.device.HookArmCase;
import com.service.bean.device.Vehicle;
import com.service.socket.protocol.Packet;

public abstract class R_Class_Abstract {
	/**
	 * 数据包
	 */
	public Packet packet;

	/**
	 * 通信管道
	 */
	public Channel channel;

	/**
	 * 车辆信息
	 */
	public Vehicle vehicle = null;
	
	/**
	 * 勾臂车箱体
	 */
	public HookArmCase hookArmCase = null;

	/**
	 * @param channel通信管道
	 * @param packet 数据包
	 */
	public R_Class_Abstract(Channel channel, Packet packet) {
		this.channel = channel;
		this.packet = packet;
	}

	/**
	 * 指令执行
	 */
	public abstract void execute();
}
